package com.xinxing.learning.datasource.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinxing.learning.datasource.model.TestUser;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TestUserMapper extends BaseMapper<TestUser> {

    /**
     * 自定义查询
     *
     * @return
     */
    @Select("select * from test_user")
    List<TestUser> selectAll();

}